package com.zqxq.lottery.service.product;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zqxq.lottery.entity.bo.product.ProductBO;
import com.zqxq.lottery.entity.bo.product.ProductSearchBO;
import com.zqxq.lottery.entity.po.product.ProductPO;
import com.zqxq.lottery.entity.vo.product.ProductVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface IProductService extends IService<ProductPO>{
    ProductVO save(ProductVO vo) throws Exception;
    Page queryPage(ProductBO search) throws Exception;
    boolean excelBatchInsert(String fileName, MultipartFile file,boolean isUpdate) throws Exception;
    List<ProductVO> query(ProductSearchBO search) throws Exception;
    Map<String,Object> payDataProcure(Long userId, Long productId) throws Exception;

}
